package com.jml.zk原生APi.创建删除修改节点;


import org.apache.zookeeper.AsyncCallback.StringCallback;

//创建节点1  异步回调函数的
public class CreateCallBack implements StringCallback {
	//回调函数
	@Override
	public void processResult(int rc, String path, Object ctx, String name) {
		System.out.println("创建节点: " + path);
		System.out.println((String)ctx);
	}

}
